
VPATH = .:$(HOME)/include

SRCS = *.cpp
OBJ = HashTable.o InitialConds.o SLinkedList.o SparseMatrix.o MatrixElement.o Stack.o Queue.o State.o StateSpace.o Stoichiometry.o Network.o
CPP_DEPS = HashTable.d InitialConds.d SLinkedList.d SparseMatrix.d MatrixElement.d Stack.d Queue.d State.d StateSpace.d Stoichiometry.d Network.d
LIBS := -lm -lxerces-c -lstdc++ -lsbml 
LD := $(HOME)/lib


$(OBJ) : $(SRCS)
%.o : %.cpp
	@echo 'Building file: $<'
	@echo 'Invoking: GCC C++ Compiler'
	g++ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" -I$(HOME)/include
	@echo 'Finished building: $<'
	@echo


all : $(OBJ)


clean:
	rm *.o *.d
